package ooday02;

public class OverrideTset {
    public static void main(String[] args) {
        Student1 zs=new Student1("张三",22,"石家庄","jsd2507","222");
        zs.sayhi();
        Teacher1 ls=new Teacher1("李四",38,"吉林",6000);
        ls.sayhi();
        Doctor1 ww=new Doctor1("王五",45,"山东","主任");
        ww.sayhi();
    }
}

